package com.xteam.youin_supplier.model;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by Curry on 2015-12-24.
 * 竞拍列表元素
 */
public class BeddingListItem {

    /**
     * flag : true
     * data : [{"auction_id":2,"end_time":"2015-12-25 11:03:00","location":"重庆市北路","name":"河北物流公司","qty":"2000L/月"},{"auction_id":11,"end_time":"2015-12-16 00:00:00","location":"上海市黄浦区","name":"河北物流公司","qty":""},{"auction_id":13,"end_time":"2015-12-16 00:00:00","location":"上海市黄浦区","name":"河北物流公司","qty":""},{"auction_id":16,"end_time":"2015-12-16 14:12:12","location":"上海市青浦","name":"河北物流公司","qty":""},{"auction_id":17,"end_time":"2015-12-25 00:00:00","location":"上海市黄浦区","name":"河北物流公司","qty":""},{"auction_id":18,"end_time":"2015-12-25 00:00:00","location":"上海市黄浦区","name":"河北物流公司","qty":"10000L/月"},{"auction_id":19,"end_time":"2015-12-25 00:00:00","location":"上海市黄浦区","name":"河北物流公司","qty":"10000L/月"},{"auction_id":20,"end_time":"2015-12-25 00:00:00","location":"上海市黄浦区","name":"河北物流公司","qty":"10000L/月"},{"auction_id":21,"end_time":"2015-11-23 23:25:00","location":"上海市","name":"河北物流公司","qty":"2L/月"}]
     * msg : 成功
     */
    private boolean flag;
    private List<DataEntity> data = new ArrayList<>();
    private String msg;

    public void setFlag(boolean flag) {
        this.flag = flag;
    }

    public void setData(List<DataEntity> data) {
        this.data = data;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public boolean isFlag() {
        return flag;
    }

    public List<DataEntity> getData() {
        return data;
    }

    public String getMsg() {
        return msg;
    }
    public class DataEntity {
        /**
         * auction_id : 2
         * end_time : 2015-12-25 11:03:00
         * location : 重庆北路
         * name : 河北物流公司
         * qty : 2000L/月
         */
        private int auction_id;
        private String end_time;
        private String location;
        private String name;
        private String qty;

        public void setAuction_id(int auction_id) {
            this.auction_id = auction_id;
        }

        public void setEnd_time(String end_time) {
            this.end_time = end_time;
        }

        public void setLocation(String location) {
            this.location = location;
        }

        public void setName(String name) {
            this.name = name;
        }

        public void setQty(String qty) {
            this.qty = qty;
        }

        public int getAuction_id() {
            return auction_id;
        }

        public String getEnd_time() {
            return end_time;
        }

        public String getLocation() {
            return location;
        }

        public String getName() {
            return name;
        }

        public String getQty() {
            return qty;
        }
    }
}
